<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>ReadCharacter</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ReadCharacter()</font></b></p>
<p><b>语法</b></p><blockquote>

Number.c = <font color="#006666"><b>ReadCharacter</b></font>(#File)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Read a character (1 byte in ASCII, 2 bytes in <a href="../reference/unicode.html">unicode</a>) from a file. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#File</i></td>
<td width="90%"> 
 
The file to read from. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns the read character or zero if there was an error. 

 

</blockquote><p><b>Remarks</b></p><blockquote>



For an example of how to read from a file, see the <a href="readfile.html">ReadFile()</a> function - with 
ReadCharacter() only a character value is read, instead of a complete line (string). 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="writecharacter.html">WriteCharacter()</a>, <a href="readasciicharacter.html">ReadAsciiCharacter()</a>, <a href="readunicodecharacter.html">ReadUnicodeCharacter()</a>, <a href="openfile.html">OpenFile()</a>, <a href="readfile.html">ReadFile()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=readbyte.html>ReadByte()</a> - <a href=index.html>File Index</a> - <a href=readdata.html>ReadData()</a> -&gt;



</body></html>